package com.ayf.payment.game.api.entity;

import com.ayf.payment.game.api.entity.base.AutoIncBaseEntity;
import com.ayf.payment.game.api.type.AdditionalStatus;
import com.ayf.payment.game.api.type.GameCurrencyType;
import com.ayf.payment.game.api.type.Status;
import com.ayf.payment.game.api.type.YesAndNo;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
@Data
@Table(name = "g_template")
public class Template extends AutoIncBaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 商户id
     */
    @Column(name = "merchant_id")
    private Integer merchantId;

    /**
     * 游戏id
     */
    @Column(name = "game_id")
    private String gameId;

    /**
     * 模板名称
     */
    @Column(name = "template_name")
    private String templateName;

    /**
     * 游戏币类型
     */
    @Column(name = "game_currency_type")
    private GameCurrencyType gameCurrencyType;

    /**
     * 游戏币名称
     */
    @Column(name = "game_currency_name")
    private String gameCurrencyName;

    /**
     * 兑换比例
     */
    @Column(name = "subscription_ratio")
    private Integer subscriptionRatio;

    /**
     * 脚本命令
     */
    @Column(name = "script_command")
    private String scriptCommand;

    /**
     * 游戏引擎
     */
    @Column(name = "game_engine")
    private String gameEngine;

    /**
     * 浏览器指令
     */
    @Column(name = "browser_instructions")
    private String browserInstructions;

    /**
     * npc名称
     */
    @Column(name = "npc_name")
    private String npcName;

    /**
     * 模板状态：'PROHIBIT'禁用；'ENABLE'启用；默认'ENABLE'
     */
    @Column(name = "template_status")
    private Status templateStatus;

    /**
     * 是否显示附加赠送：'YES'是；'NO'否；默认'NO'
     */
    @Column(name = "is_show_additional")
    private YesAndNo isShowAdditional;

    /**
     * 充值时是否显示积分赠送：'YES'是；'NO'否；默认'NO'
     */
    @Column(name = "is_show_integral")
    private YesAndNo isShowIntegral;

    /**
     * 充值时是否显示游戏币：'YES'是；'NO'否；默认'NO'
     */
    @Column(name = "is_show")
    private YesAndNo isShow;

    /**
     * 是否显示装备赠送：'YES'是；'NO'否；默认'NO'
     */
    @Column(name = "is_show_equipment")
    private YesAndNo isShowEquipment;

    /**
     * 装备赠送 1 只送最大金额 2 所有符合金额
     */
    @Column(name = "show_equipment_type")
    private Integer  showEquipmentType;

    @Column(name = "equipment_status")
    private AdditionalStatus equipmentStatus;

    /**
     * 状态：'CLOSE'关闭,'AMOUNT'按金额赠送,'AMOUNT_CHANNEL'金额加渠道,'AMOUNT_ESCITATION'金额加激励,'AMOUNT_CHANNEL_ESCITATION'金额加渠道加激励
     */
    @Column(name = "customize_status")
    private AdditionalStatus customizeStatus;

    /**
     * 渠道赠送是否包含激励赠送金额：'YES'是；'NO'否；默认'NO'
     */
    @Column(name = "is_show_amount")
    private YesAndNo isShowAmount;

    /**
     * 渠道赠送 1 按充值金额 2 充值金额+渠道赠送
     */
    @Column(name = "show_amount_type")
    private Integer  showAmountType;

    /**
     * 是否开启充值赠送：'YES'是；'NO'否；默认'NO'
     */
    @Column(name = "is_repaid_gift")
    private YesAndNo isRepaidGift;

    /**
     * 是否支持点卡充值：'YES'是；'NO'否；默认'YES'
     */
    @Column(name = "is_card_recharge")
    private YesAndNo isCardRecharge;

    @Column(name = "is_give_integral")
    private Integer isGiveIntegral;


}